home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 6 / cmerge.zip / CMERGE.DOC < prev    next >
Text File  |  1987-06-08  |  2KB  |  44 lines

  1.     This program will merge the assembly lanquage output of turboc 
  2. (and probably other compilers as well) with masm .lst and .asm files.
  3.  
  4. Usage cmerge cfile <-o> <-o=outputfilename> <-a> <-aasmfilename>
  5.  
  6. If -a and a filename is given the asm file will be used.
  7. If the filename has a .asm extension then the output will have .asl ext.
  8.  
  9. If -a is not used an .lst file will be sought and the output will have 
  10. a .lsl ext unless the -o option is used.
  11.  
  12. The -o option is for the output filename.
  13.  
  14. This program could certainly use some refining but it is a quick and dirty
  15. way to see a mixed listing for evaluating compiled code.
  16.  
  17. In Turboc the command line version of the compiler must be used to obtain
  18. assembly lanquage output. This is accomplished with the -S option.
  19.  
  20. Include in the .arc are 
  21.  
  22.               cmerge.doc    This file
  23.               cmerge.c        The source for the merger
  24.               cmerge.com    The executable compiled with Turboc in
  25.                           tiny model and exe2bined.
  26.               sieve.c        Sample program to merge
  27.               sieve.asm        The assembly language output from Turboc
  28.           sieve.lst        The listing output from Turboc
  29.           sieve.asl        The mixed listing from .asm and .c
  30.               sieve.lsl        The mixed listing from .lst and .c
  31.  
  32.  
  33.                                  
  34. NOTE:
  35.   The original program was found deep in the dregs of a unix system.
  36. It contained no copywrite so I figured it was fair game. I only modified
  37. it to compile under MS-DOS and added date time and changed output to be
  38. a bit more readable.
  39.  
  40.                 Steve Allison
  41.                 10200 W. York 
  42.                 Wichita, Ks
  43.                             67215
  44.